package com.actionpals.events
{
	import flash.events.ErrorEvent;
	import flash.events.Event;

	public class StreamErrorEvent extends ErrorEvent
	{
		public static const STREAM_ERROR:String = "streamError";
		
		protected var _id:int;
		
		public function StreamErrorEvent( type:String, bubbles:Boolean=false, cancelable:Boolean=false, text:String="" )
		{
			_id = 2032;
			super( type, bubbles, cancelable, text );
		}
		
		public function get id():int
		{
			return _id;
		}
		
		public override function clone():Event
		{
			return new StreamErrorEvent( type, bubbles, cancelable, text );
		}
		
		public override function toString():String
		{
			return formatToString( "StreamErrorEvent", "type", "bubbles", "cancelable", "eventPhase" );
		}
		
	}
}